package Polymorphism;

public class Cat extends Animal{
    public Cat(String name, int age){
        super(name, age);
    }

    @Override
    public void eat(String name) {
        System.out.println(name+"在吃小鱼");
    }
}
